package com.itheima;

import com.itheima.utils.SMSUtils;
import com.itheima.utils.ValidateCodeUtils;
import org.springframework.util.DigestUtils;

import java.net.URLEncoder;


public class test {
    public static void main(String[] args) {
        /*String phone = "15226170721";
        String code = String.valueOf(ValidateCodeUtils.generateValidateCode(4));
        SMSUtils.sendMessage("探花平台","SMS_204055119",phone,code);*/
        String s = "2ceb8b56eb954fe688d7e36d4c7074f8";
        byte[] bytes = DigestUtils.md5Digest(s.getBytes());

        System.out.println(bytes);
    }
}
